package com.example.administrator.twopagelibrary.dagger.component;

import com.example.administrator.commonlibrary.dagger.component.OverallSituationComponent;
import com.example.administrator.twopagelibrary.dagger.module.ViewModule;
import com.example.administrator.twopagelibrary.dagger.module.ViewParameterModule;
import com.example.administrator.twopagelibrary.view.fragment.TwoFragment;

import dagger.Component;

/**
 * @author wang_hong_wei
 * @description 使用方法 可以参考http://chuansong.me/n/466090551437
 * @Date 2018-5-11
 */
@MSingleton
@Component(modules = {ViewModule.class, ViewParameterModule.class},dependencies = OverallSituationComponent.class)
public interface FragmentComponent {
    void inject(TwoFragment twoFragment);
}
